import { IForm } from "@/components/Form/Com/types.ts";
export const searchFormConfig: IForm = {
  formItems: [
    {
      field: "id",
      type: "input",
      label: "id",
      placeholder: "请输入id",
    },
    {
      field: "enable",
      type: "select",
      label: "用户状态",
      placeholder: "请输入用户状态",
      options: [
        {
          title: "启用",
          value: 1,
        },
        {
          title: "停用",
          value: 0,
        },
      ],
    },
    {
      field: "createAt",
      type: "datepicker",
      label: "创建时间",
      otherOptions: {
        startPlaceholder: "开始时间",
        endPlaceholder: "结束时间",
        type: "daterange",
      },
    },
  ],
};
